package studio.raptor.extractor.nm;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;
import studio.raptor.extractor.common.constant.EventMetaStatus;
import studio.raptor.extractor.segment.ExtractorServerInitializer;
import studio.raptor.extractor.segment.config.EventSourceConfig;
import studio.raptor.extractor.segment.config.ExtractorConfig;
import studio.raptor.extractor.segment.config.ServerConfig;
import studio.raptor.extractor.segment.dao.EventDao;
import studio.raptor.extractor.segment.entity.EventMeta;
import studio.raptor.extractor.segment.properties.MQProperties;
import studio.raptor.extractor.segment.properties.ZKProperties;
import studio.raptor.extractor.segment.server.ExtractorServer;
import studio.raptor.extractor.segment.service.EventMetaService;

import javax.annotation.PostConstruct;
import java.util.List;

/**
 * Created by liuyong8 on 2017/7/12. 读取抽取程序配置
 */
@Component
public class NMExtractorServerInitializer extends ExtractorServerInitializer {

  private static final Logger log = LoggerFactory.getLogger(NMExtractorServerInitializer.class);

  @PostConstruct
  public void init() {
    System.out.println("----------init----------");
  }

  @Override
  protected String getBizName() {
    return "Extractor_NRM";
  }
}
